MakeCommerce\Shipping\Method B

Total Complexity 78
Dependencies 3
Dependents 0
Total lines 584
Lines of code 311
Logical lines of code 146
Comment lines 144
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
A
46 13 34
check_checkout_fields()
A
50 13 26
valid_phone_number()
S
55 7 20
initialize_basic_form_fields()
S
42 4 54
override_shipping_title_translation()
S
58 6 15
check_number()
S
63 5 10
set_default_settings()
S
63 5 9
is_available()
S
61 4 11
initalize_return_addres_form_fields()
S
46 1 47
check_international_number()
S
65 4 8
override_title()
S
65 3 9
initialize_instance_form_fields()
S
53 1 25
sanitize_phone_number()
S
66 2 8
override_label_translation()
S
68 2 7
set_hooks()
S
64 2 9
__construct()
S
61 1 13
initialize_form_fields()
S
73 1 6
initialize()
S
100 1 0
initialize_method_type_form_fields()
S
100 1 0
return_method_title()
S
100 1 0
phone_number_validation_error()
S
100 1 0